package com.credit.management.system.service;

import java.util.List;
import java.util.Map;

import com.credit.management.system.model.Page;
import com.credit.management.system.model.Syrole;

public interface ISyroleService {
	 int deleteByPrimaryKey(Integer id);
	 int insertSelective(Syrole record);
	 Syrole selectByPrimaryKey(Integer id);
	 int updateByPrimaryKeySelective(Syrole record);
	//----------------custom(手写xml)-------------------
	 Page findPageSyrole(Page page);	
	 List<Map<String,Object>>findRoleExistPermissionsAndNotExistPermissions(Integer roleId);
}
